home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / mail / mailclea.000 / mailclea / mailclear / maildefs.h < prev    next >
Text File  |  1996-03-04  |  1KB  |  38 lines

  1. /* Mailclear Password + Username Definitions */
  2.  
  3. /* It makes much more sense to keep this away from the average user */
  4. /* encrypted so to speak, in the code of a program, rather than out */
  5. /* in the open in a script or config file...                */
  6. /*                                    */
  7. /*    v0.00001 - March 3, 1996 -- C. Omand                */
  8. /*                                    */
  9.  
  10. #define USERNAME        "username"
  11. #define PASSWORD        "mypasswd"
  12. #define LOCALBOX        "/var/spool/mail/username"
  13. #define SMTPHOST        "mail.provider.com"
  14.  
  15. /* Protocol to use */
  16.  
  17. /* The Choices Are POP2 - Post Office Protocol 2 */
  18. /*           POP3 - Post Office Protocol 3 (Usually) */
  19. /*            APOP - POP3 with MD5 Authentication */
  20. /*           RPOP - POP3 with trusted-host-based auth /*
  21. /*              (See popclient.1)    */
  22.  
  23. #define PROT            "POP3"
  24.  
  25. /* These are the standard return codes for popclient
  26.  
  27. #define MAIL        0     One or more messages retrieved 
  28. #define NOMAIL        1     No mail waiting to be retrieved
  29. #define NOSOCK        2     Fatal error getting POP socket 
  30. #define NOAUTH        3     Error with SMTP server authentication
  31. #define PROTERR        4     Protocol Error
  32. #define SYNTERR        5     We didn't specify POPFLAGS correctly
  33. #define IOLOCAL        6     I/O Error writing to local folder
  34. #define POP3SERR    7     Server error (POP3 Only)
  35. #define FATAL        9     Fatal error in popclient (notify author) */
  36.  
  37. /* End of maildefs.h */
  38.